package edu.pku.sei.transformation.atl.adapter;

import edu.pku.sei.transformation.atl.rule.IATLType;

public class ATLPrimitiveType implements IATLType {
	public static final ATLPrimitiveType INTEGER_TYPE = new ATLPrimitiveType(
			"int");
	public static final ATLPrimitiveType STRING_TYPE = new ATLPrimitiveType(
			"String");
	public static final ATLPrimitiveType REAL_TYPE = new ATLPrimitiveType("Real");
	
	private String name;

	private ATLPrimitiveType(String s) {
		name = s;
	}

	@Override
	public String getName() {
		return name;
	}
	
	@Override
	public String toString() {
		return name;
	}

}
